-
Notifications
You must be signed in to change notification settings - Fork 517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tags and tickets fields to get cases request #5564
Add tags and tickets fields to get cases request #5564
Conversation
hmm, I don't think we want to do it this way. When include is supported: dispatch/src/dispatch/case/views.py Line 125 in 7bc0a67
We create a special result set using:
We should figure out a way to support nested objects via that function such that additionally nested fields can be gathered as well. This would also solve the problem across the incident, case and task apis. Lmk if you want to pair on that approach, it's been a long time since I looked at that code and it's sort of magical. |
* Add tags and tickets fields to get cases request * Attempt to move include parameter in GET requests to Cases into database service. * Adding tests * Adding tests * Add tags and ticket fields back to CaseReadMinimal * Switch test from Incident to Case. * remove duplicates * Fix unused variable assignment * Fixing tests --------- Co-authored-by: kevgliss <[email protected]> Co-authored-by: Kevin Glisson <[email protected]>
* Allow export of tag fields for Incidents and Cases. * Add tags and tickets fields to get cases request (#5564) * Add tags and tickets fields to get cases request * Attempt to move include parameter in GET requests to Cases into database service. * Adding tests * Adding tests * Add tags and ticket fields back to CaseReadMinimal * Switch test from Incident to Case. * remove duplicates * Fix unused variable assignment * Fixing tests --------- Co-authored-by: kevgliss <[email protected]> Co-authored-by: Kevin Glisson <[email protected]> * Export tags as tag_type.name/tag.name * Preview case tag column as 'tag_type.name/tag.name' --------- Co-authored-by: kevgliss <[email protected]> Co-authored-by: Kevin Glisson <[email protected]>
No description provided.